package com.atguigu.yygh.hosp.service;


import com.atguigu.yygh.model.hosp.Department;
import com.atguigu.yygh.vo.hosp.DepartmentQueryVo;
import com.atguigu.yygh.vo.hosp.DepartmentVo;
import org.springframework.data.domain.Page;

import java.util.List;

public interface DepartmentService {

    void save(Department department);

    Page<Department> selectPage(int page, int limimt, DepartmentQueryVo departmentQueryVo);

    void removeDeptId(String hoscode, String depcode);

    //根据医院编号，查询医院所有科室列表
    List<DepartmentVo> findDeptTree(String hoscode);

    String getDepName(String hoscode,String depcode);

    Department getDepartment(String hoscode, String depcode);
}